package com.job.GaoYuXuan.Homework0705;

/**
 * @author 盖
 * @version 1.0
 * @since 2022-07-05 21:07:32
 */
public class Job0705100$ {
    public static void main(String[] args) {
        int temp = 1;
        for (int i = 0; i < 34; i++){
            for (int j = 0; j <= 25; j++){
                for (int m = 0; m <= 100; m++){
                    if ((3 * i) + (4 * j) + (m * 1) == 100 && i + j +3 * m == 100){
                        System.out.println("第" + temp++ + "种情况");
                        System.out.println("公鸡有：" + i +"只  ；");
                        System.out.println("母鸡有：" + j +"只；");
                        System.out.println("小鸡有：" + 3 * m +"只；");
                    }
                }
            }
        }
    }
}